package com.nbcb.dao;

import com.nbcb.domain.Order;
import com.nbcb.domain.Product;
import com.nbcb.domain.User;

import java.util.HashMap;

public class Constant {
    /**
     * 用户内存
     * key:userId
     */
    public static HashMap<String, User> userHashMap = new HashMap();
    /**
     * 商品内存
     * key:productId
     */
    public static  HashMap<String, Product> productHashMap =new HashMap();
    /**
     * 订单
     * key:orderId
     */
    public static  HashMap<String, Order> orderHashMap = new HashMap();

}
